﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="Add_Edit.aspx.cs" Inherits="admin_Contact_Add_Edit" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="content-box-outer">
        <div class="content-box-right">
            <ul>
                <li class="content-box-selected"><a href="Default.aspx">Liên hệ</a></li>
                <li><a href="#">Đính kèm</a></li>
            </ul>
        </div>
        <div class="content-box-left">
            <h1>
                <%=ContactDetail.Subject %> 
                <div style="float: right; width: 15%; vertical-align: text-top; height: 32px;border:0px solid red; font-size:13px; font-weight:normal">
                        <%=ContactDetail.DateCreated %> &nbsp;<a href="#" class="tooltip" title="Trả lời liên hệ này">Trả lời</a> | <a href="Add_Edit.aspx?DeleteID=<%=ContactDetail.ContactID %>" class="tooltip" title="Xóa liên hệ">Xóa</a><br />
                    </div>
            </h1>
            <div id="Container">
                <div id="info">
                    <div style="float: left; width: 84%; vertical-align: top; height: 32px; border:0px solid red">
                        <img src="/admin/images/no_photo.png" style="float: left; width: 32px; padding-right: 10px" alt=""/>
                        <b>Tên: </b><%=ContactDetail.LastName %>&nbsp;<br />
                        <b>Email: </b><%=ContactDetail.Email %><br />
                      </div>
                    <div style="float: right; width: 15%; vertical-align: text-top; height: 32px;border:0px solid red; display:none">
                        <%ContactDetail.DateCreated.ToShortDateString(); %> &nbsp;<a href="#" class="tooltip" title="Trả lời liên hệ này">Trả lời</a> | <a href="Add_Edit.aspx?DeleteID=<%=ContactDetail.ContactID %>" class="tooltip" title="Xóa liên hệ">Xóa</a><br />
                    </div>
                     <div style="float: left; width: 95%; vertical-align: top; padding-left:42px; padding-top:8px;  border:0px solid red">
                      <b>Công ty: </b><%=ContactDetail.CompanyName %> <br />
                       <b>Địa chỉ:</b> <%=ContactDetail.Address %>&nbsp;<br /> <b>Điện thoại:</b> <%=ContactDetail.MainPhone %>
                 </div>

                </div>
                <div id="bodycontact" style="padding-left:42px; padding-top:45px; padding-bottom:10px">
                <b>Nội dung</b><br />
                <%=ContactDetail.Body %>
                </div>
                <div id="fileattachment"  style="float: left; width: 44%; vertical-align: top; margin-left:42px;  border-top:1px solid rgb(220,220,220)">
                <b>0&nbsp;file đính kèm</b>
                <br />
                <asp:Repeater ID="rptAttachment" runat="server">
                <ItemTemplate>
                  <%#Eval("FileName") %> <a href="Download.axd?file=<%#Eval("FileUrl") %>" class="tooltip" title="Tải xuống file đính kèm">Tải xuống</a><br />
               
                </ItemTemplate>
                </asp:Repeater>
              
                </div>
        </div>
    </div></div>
</asp:Content>

